<?php
	session_start();
	require('../core/config.php');
	if(isset($_SESSION['islogin'])){
		$article = getArticleAllList(0,30);
		$smarty->assign('article',$article);
		$smarty->display($_config['root']."admin/html/article.html");
	}else{
		include('login.php');
	}
?>